<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>Runtime.pb</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">;
</font><font color="#006666">; ------------------------------------------------------------
</font><font color="#006666">;
</font><font color="#006666">;   PureBasic - Runtime example file
</font><font color="#006666">;
</font><font color="#006666">;    (c) Fantaisie Software
</font><font color="#006666">;
</font><font color="#006666">; ------------------------------------------------------------
</font><font color="#006666">;
</font>
<font color="#006666">; Note: this example doesn't make much sens as a standalone file
</font><font color="#006666">; as the runtime concept is to allow to access any procedure,
</font><font color="#006666">; variable etc once the program is compiled (for exemple from
</font><font color="#006666">; an xml file, like in the Dialog library)
</font>

<b><font color="#006666">Runtime</font></b> <b><font color="#006666">Procedure</font></b> <font color="#006666">RuntimeProcedure</font>() 
  <b><font color="#006666">Debug</font></b> "Runtime procedure"
<b><font color="#006666">EndProcedure</font></b>


<b><font color="#006666">Debug</font></b> "RuntimeProcedure() address: " +<font color="#006666"> GetRuntimeInteger</font>("RuntimeProcedure()")


RuntimeVariable.i = 128
<b><font color="#006666">Runtime</font></b> RuntimeVariable
<b><font color="#006666">Debug</font></b> "RuntimeVariable: " +<font color="#006666"> GetRuntimeInteger</font>("RuntimeVariable")
<font color="#006666">SetRuntimeInteger</font>("RuntimeVariable", 256)

<font color="#006666">; The internal variable value has been changed
</font><font color="#006666">;
</font><b><font color="#006666">Debug</font></b> "RuntimeVariable: " + RuntimeVariable
</font></pre>
</body></html>
